import { MidwayConfig } from '@midwayjs/core';

export default {
  // use for cookie sign key, should change to your own and keep security
  keys: '1735796720979_2030',
  koa: {
    port: 7001,
  },
  cacheManager: {
    clients: {
      default: {
        store: 'memory',
        options: {
          max: 100,
          ttl: 10,
        }
      },
    },
  },
  jwt:{
    secret: 'test-admin-vue',
    expire: 60 * 60 * 24 * 7,
    refreshExpire: 60 * 60 * 24 * 30
  }
} as MidwayConfig;
